﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caray.Site.Core.Entities;
using Caray.Site.Core.Repositories;

namespace Caray.Site.Core
{
    public class ProductRepository
    {
        #region Singleton
        private ProductRepository()
        { }
        private static ProductRepository _current;
        public static ProductRepository Current
        {
            get
            {
                if (_current == null)
                    _current = new ProductRepository();

                return _current;
            }
        }
        #endregion

        public Guid Add(Product product)
        {
            return new Guid();
        }

        public void Update(Product product)
        {
        
        }

        public Product Get(Guid productId)
        {
            return new Product();
        }

        public List<Product> GetAll()
        {
            return null;
        }

        public List<Product> GetByCategory(ProductCategory category)
        {
            return null;
        }

        public List<Product> GetByFilter(ProductFilter filter)
        {
            return null;
        }

        public void Delete(Guid productId)
        { 
        
        }
    }
}
